<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>短信发送</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm-extend.min.css">

  </head>
  <body>
    <div class="page-group">
        <div class="page page-current">
        <!-- 你的html代码 -->
	<header class="bar bar-nav">
		<h1 class='title'>船说预订成功短信</h1>
	</header>
	<div class="content">
	  <div class="list-block">
		<ul>
		  <!-- Text inputs -->
		   <li>
			<div class="item-content">
			  <div class="item-media"><i class="icon icon-form-name"></i></div>
			  <div class="item-inner">
				<div class="item-title label">预订人</div>
				<div class="item-input">
				  <input id="name" type="text" placeholder="姓氏">
				</div>
			  </div>
			</div>
		  </li>
		  <li>
			<div class="item-content">
			  <div class="item-media"><i class="icon icon-form-name"></i></div>
			  <div class="item-inner">
				<div class="item-title label">预定时间</div>
				<div class="item-input">
				  <input id="time" type="text" placeholder="日期、早晚市">
				</div>
			  </div>
			</div>
		  </li>
		  <li>
			<div class="item-content">
			  <div class="item-media"><i class="icon icon-form-name"></i></div>
			  <div class="item-inner">
				<div class="item-title label">房号</div>
				<div class="item-input">
				  <input id="room" type="text" placeholder="房号">
				</div>
			  </div>
			</div>
		  </li>
		  <li>
			<div class="item-content">
			  <div class="item-media"><i class="icon icon-form-name"></i></div>
			  <div class="item-inner">
				<div class="item-title label">预订号码</div>
				<div class="item-input">
				  <input id="phone" type="text" placeholder="电话号码" class="">
				</div>
			  </div>
			</div>
		  </li>
		</ul>
	  </div>
	  <div class="content-block">
		<div class="row">
		  <div class="col-50"><a href="#" class="button button-big button-fill button-danger">取消</a></div>
		  <div class="col-50"><a id="submit" class="button button-big button-fill button-success">提交</a></div>
		</div>
	  </div>
	</div>
        </div>
    </div>

    <script type='text/javascript' src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm-extend.min.js' charset='utf-8'></script>
	<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
	<script>
	$(document).ready(function(){
	  $("#submit").click(function(){
			$.post("/online-system/sms/demo/sendSms.php",{
				name:$("#name").val(),
				time:$("#time").val(),
				room:$("#room").val(),
				phone:$("#phone").val()
			},function(data,status){
				alert("数据: \n" + data + "\n状态: " + status);
			
			});
	  });
	  
	});
	
	</script>

  </body>
</html>